<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="/js/jquery-3.3.1.min.js"></script>
</head>
<body>
    <div>
        <h3>添加</h3>
        <form action="/api/book/" method="post">
            <input name="name" placeholder="输入书的名字">
            <input name="price" placeholder="输入书的价格">
            <input type="hidden" name="_method" value="put" />
            <button type="submit">添加</button>
        </form>
    </div>
</body>
</html>